package ooday02;

public class OverrideDemo {
    public static void main(String[] args) {
        Student zg=new Student("张光",25,"河北","jsd2403","001");
        zg.sayHi();
        Teacher ll=new Teacher("李林",35,"山东",5000);
        ll.sayHi();
        Doctor zl =new Doctor("赵亮",40,"河南","主任医师");
        zl.sayHi();

    }
}
